package com.lxb.myforum.controller.admin

import com.lxb.myforum.base.BaseController
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpSession

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping

@Controller("adminIndexCtrl")
@RequestMapping(value = ["/admin"])
class AdminIndexController: BaseController() {

    @GetMapping(value = ["", "/", "/index"])
    fun index(session: HttpSession, request: HttpServletRequest): String {

        return "/admin/index"
    }
}
